package com.ydl.shopping.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ydl.shopping.domain.TbGoods;
import org.springframework.transaction.annotation.Transactional;

/**
 * 事务回滚
 * RunTime
 */
@Transactional
public interface ITbGoodsService extends IService<TbGoods> {
    /**
     * 构建查询条件
     *
     * @param entity 参数信息
     * @return 查询条件
     */
    QueryWrapper<TbGoods> queryWrapper(TbGoods entity);
}
